﻿namespace Xc.Tools.Apis
{
    /// <summary>
    /// JSON类型信息
    /// </summary>
    public class JsonTypeInfo
    {
        /// <summary>
        /// 属性名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public JsonType JsonType { get; set; }
        /// <summary>
        /// 最小值
        /// </summary>
        public int Min { get; set; }
        /// <summary>
        /// 最大值
        /// </summary>
        public int Max { get; set; }
        /// <summary>
        /// 步进值
        /// </summary>
        public int Step { get; set; }
        /// <summary>
        /// 长度
        /// </summary>
        public int Length { get; set; }
        /// <summary>
        /// 枚举值
        /// </summary>
        public string[] EnumValue { get; set; }

    }
}
